// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.jasmin.cpu;

import com.dustedpixels.jasmin.common.Timeline;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public final class CrewModel {
  private final RwController rwController;
  private final RoController[] roControllers;

  public CrewModel(RwController rwController, RoController[] roControllers) {
    this.rwController = rwController;
    this.roControllers = roControllers;
  }
  
  public interface RwController {
    void sleep(long cycles);
    void synchronize();
  }
  
  public interface RoController {
    void sleep(long cycles);
  }
}
